package com.zhan.drugStore.service;

import com.zhan.drugStore.bean.entity.Inventory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhan.drugStore.bean.form.InventorySearch;
import com.zhan.drugStore.bean.vo.InventoryVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zy
 * @since 2024-06-08
 */
public interface InventoryService extends IService<Inventory> {

    void addOrUpdate(Inventory inventory);

    List<InventoryVO> inventoryList(InventorySearch form);

    InventoryVO getInventoryById(Long id);

}
